package dice.sinanya.entity;

import static dice.sinanya.tools.checkdata.CheckGroupInSimple.checkGroupInSimple;

/**
 * @author SitaNya
 * 日期: 2019-08-21
 * 电子邮箱: sitanya@qq.com
 * 维护群(QQ): 162279609
 * 有任何问题欢迎咨询
 * 类说明:
 */
public class EntityGame {
    boolean jrrpSwitch;
    String jrrpInfo;
    boolean welcomeSwitch;
    boolean botList;
    boolean deck;
    boolean nameSwitch;
    boolean ob;
    boolean simple;
    boolean rule;

    //TODO 下面的内容是新加的

    String fireNext;
    String fireNeedStop;
    String fireAbort;
    String fireAgentError;
    String fireContinue;
    String fireStop;
    String fireAlreadyStop;
    String fireResetNeedStop;
    String fireReset;
    String getName;
    String obAlreadyInsert;
    String obInsert;
    String obRemove;
    String obAlreadyRemove;
    String obClear;
    String obShow;
    String obEmpty;
    String welcomeClose;
    String welcomeOpen;
    String welcomeInsert;
    String bgInfo;
    String cocCard7Make;
    String cocCard6Make;
    String groupSwitchInfo;
    String jrrpStart;
    String jrrpStop;
    String npcStart;
    String npcStop;
    String welcomeStart;
    String welcomeStop;
    String gasStart;
    String gasStop;
    String bgStart;
    String bgStop;
    String tzStart;
    String tzStop;
    String simpleStart;
    String simpleStop;
    String obStart;
    String obStop;
    String deckStart;
    String deckStop;
    String rankCantStart;
    String rankStart;
    String rankStop;
    String ruleChange;
    String ruleGet;
    String ruleDefault;
    String reply;
    String replyStart;
    String replyStop;

    public EntityGame() {
        jrrpSwitch = false;
        jrrpInfo = "%s的今日人品为%s";
        welcomeSwitch = false;
        botList = true;
        deck = true;
        nameSwitch = false;
        ob = true;
        simple = true;
        rule = false;

        fireNext = "检定完毕后请手工输入下一页的页码";
        fireNeedStop = "向火独行模块当前处于开启状态，不响应其余指令，如需退出此模式请输入.fire stop";
        fireAbort = "输入的新页码不在可选项中或不是数字，如需退出此模式请输入.fire stop";
        fireAgentError = "您目前已启用向火独行模块，无法重复开启";
        fireContinue = "向火独行模块重新激活，游戏继续";
        fireStop = "向火独行模块已关闭，您可以正常使用私聊命令了";
        fireAlreadyStop = "您的向火独行模块处于关闭状态";
        fireResetNeedStop = "您必须关闭本模块才可以进行重置";
        fireReset = "您的向火独行副本进度已被重置，如需重新开始模块，请输入.fire start";
        getName = "您获取的随机姓名为";
        obAlreadyInsert = "您已在本群旁观列表中";
        obInsert = "已将您加入本群旁观列表";
        obRemove = "已将您移出本群旁观列表";
        obAlreadyRemove = "您不在本群旁观列表中";
        obClear = "已清空本群旁观列表";
        obShow = "本群当前旁观列表为";
        obEmpty = "本群旁观列表为空";
        welcomeClose = "已关闭，将保留原欢迎词设置";
        welcomeOpen = "已开启，原有的欢迎词已保留并恢复";
        welcomeInsert = "已录入,置为开启";
        bgInfo = "既然决定了背景，就一定要好好扮演不要出戏哦！";
        cocCard7Make = "的7版人物做成";
        cocCard6Make = "的6版人物做成";
        groupSwitchInfo = "请在结尾输入1开启，0关闭";
        jrrpStart = "jrrp已在本群开启";
        jrrpStop = "jrrp已在本群关闭";
        npcStart = "npc已在本群开启";
        npcStop = "npc已在本群关闭";
        welcomeStart = "welcome已在本群开启";
        welcomeStop = "welcome已在本群关闭";
        gasStart = "gas已在本群开启";
        gasStop = "gas已在本群关闭";
        bgStart = "bg已在本群开启";
        bgStop = "bg已在本群关闭";
        tzStart = "tz已在本群开启";
        tzStop = "tz已在本群关闭";
        replyStart="词库已在本群开启";
        replyStop="词库已在本群关闭";
        simpleStart = "simple已在本群开启";
        simpleStop = "simple已在本群关闭";
        obStart = "ob已在本群开启";
        obStop = "ob已在本群关闭";
        deckStart = "deck已在本群开启";
        deckStop = "deck已在本群关闭";
        rankCantStart = "骰主未开启抢占功能";
        rankStart = "抢占功能已在本群开启";
        rankStop = "抢占功能已在本群关闭";
        ruleChange = "本群房规已改变为:\n1~%s大成功\n%s~100大失败\n区间值为:\t%s";
        ruleGet = "本群当前房规为:\n1~%s大成功\n%s~100大失败\n区间值为:\t%s";
        ruleDefault = "本群当前房规为默认值:\n1~5大成功\n96~100大失败\n区间值为:\t5";
        reply="";
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
            this.reply = reply;
    }

    public boolean isJrrpSwitch(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().jrrpSwitch;
        }
        return jrrpSwitch;
    }

    public String getJrrpInfo(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().jrrpInfo;
        }
        return jrrpInfo;
    }

    public boolean isWelcomeSwitch(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().welcomeSwitch;
        }
        return welcomeSwitch;
    }

    public boolean isBotList(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().botList;
        }
        return botList;
    }

    public boolean isDeck(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().deck;
        }
        return deck;
    }

    public boolean isNameSwitch(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().nameSwitch;
        }
        return nameSwitch;
    }

    public boolean isOb(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().ob;
        }
        return ob;
    }

    public boolean isSimple(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().simple;
        }
        return simple;
    }

    public boolean isRule(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().rule;
        }
        return rule;
    }

    public String getFireNext(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireNext;
        }
        return fireNext;
    }

    public void setFireNext(String fireNext) {
        if (fireNext != null && !"".equals(fireNext)) {
            this.fireNext = fireNext;
        }
    }

    public String getFireNeedStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireNeedStop;
        }
        return fireNeedStop;
    }

    public void setFireNeedStop(String fireNeedStop) {
        if (fireNeedStop != null && !"".equals(fireNeedStop)) {
            this.fireNeedStop = fireNeedStop;
        }
    }

    public String getFireAbort(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireAbort;
        }
        return fireAbort;
    }

    public void setFireAbort(String fireAbort) {
        if (fireAbort != null && !"".equals(fireAbort)) {
            this.fireAbort = fireAbort;
        }
    }

    public String getFireAgentError(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireAgentError;
        }
        return fireAgentError;
    }

    public void setFireAgentError(String fireAgentError) {
        if (fireAgentError != null && !"".equals(fireAgentError)) {
            this.fireAgentError = fireAgentError;
        }
    }

    public String getFireContinue(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireContinue;
        }
        return fireContinue;
    }

    public void setFireContinue(String fireContinue) {
        if (fireContinue != null && !"".equals(fireContinue)) {
            this.fireContinue = fireContinue;
        }
    }

    public String getFireStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireStop;
        }
        return fireStop;
    }

    public void setFireStop(String fireStop) {
        if (fireStop != null && !"".equals(fireStop)) {
            this.fireStop = fireStop;
        }
    }

    public String getFireAlreadyStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireAlreadyStop;
        }
        return fireAlreadyStop;
    }

    public void setFireAlreadyStop(String fireAlreadyStop) {
        if (fireAlreadyStop != null && !"".equals(fireAlreadyStop)) {
            this.fireAlreadyStop = fireAlreadyStop;
        }
    }

    public String getFireResetNeedStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireResetNeedStop;
        }
        return fireResetNeedStop;
    }

    public void setFireResetNeedStop(String fireResetNeedStop) {
        if (fireResetNeedStop != null && !"".equals(fireResetNeedStop)) {
            this.fireResetNeedStop = fireResetNeedStop;
        }
    }

    public String getFireReset(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().fireReset;
        }
        return fireReset;
    }

    public void setFireReset(String fireReset) {
        if (fireReset != null && !"".equals(fireReset)) {
            this.fireReset = fireReset;
        }
    }

    public String getGetName(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().getName;
        }
        return getName;
    }

    public void setGetName(String getName) {
        if (getName != null && !"".equals(getName)) {
            this.getName = getName;
        }
    }

    public String getObAlreadyInsert(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obAlreadyInsert;
        }
        return obAlreadyInsert;
    }

    public void setObAlreadyInsert(String obAlreadyInsert) {
        if (obAlreadyInsert != null && !"".equals(obAlreadyInsert)) {
            this.obAlreadyInsert = obAlreadyInsert;
        }
    }

    public String getObInsert(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obInsert;
        }
        return obInsert;
    }

    public void setObInsert(String obInsert) {
        if (obInsert != null && !"".equals(obInsert)) {
            this.obInsert = obInsert;
        }
    }

    public String getObRemove(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obRemove;
        }
        return obRemove;
    }

    public void setObRemove(String obRemove) {
        if (obRemove != null && !"".equals(obRemove)) {
            this.obRemove = obRemove;
        }
    }

    public String getObAlreadyRemove(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obAlreadyRemove;
        }
        return obAlreadyRemove;
    }

    public void setObAlreadyRemove(String obAlreadyRemove) {
        if (obAlreadyRemove != null && !"".equals(obAlreadyRemove)) {
            this.obAlreadyRemove = obAlreadyRemove;
        }
    }

    public String getObClear(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obClear;
        }
        return obClear;
    }

    public void setObClear(String obClear) {
        if (obClear != null && !"".equals(obClear)) {
            this.obClear = obClear;
        }
    }

    public String getObShow(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obShow;
        }
        return obShow;
    }

    public void setObShow(String obShow) {
        if (obShow != null && !"".equals(obShow)) {
            this.obShow = obShow;
        }
    }

    public String getObEmpty(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obEmpty;
        }
        return obEmpty;
    }

    public void setObEmpty(String obEmpty) {
        if (obEmpty != null && !"".equals(obEmpty)) {
            this.obEmpty = obEmpty;
        }
    }

    public String getWelcomeClose(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().welcomeClose;
        }
        return welcomeClose;
    }

    public void setWelcomeClose(String welcomeClose) {
        if (welcomeClose != null && !"".equals(welcomeClose)) {
            this.welcomeClose = welcomeClose;
        }
    }

    public String getWelcomeOpen(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().welcomeOpen;
        }
        return welcomeOpen;
    }

    public void setWelcomeOpen(String welcomeOpen) {
        if (welcomeOpen != null && !"".equals(welcomeOpen)) {
            this.welcomeOpen = welcomeOpen;
        }
    }

    public String getWelcomeInsert(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().welcomeInsert;
        }
        return welcomeInsert;
    }

    public void setWelcomeInsert(String welcomeInsert) {
        if (welcomeInsert != null && !"".equals(welcomeInsert)) {
            this.welcomeInsert = welcomeInsert;
        }
    }

    public String getBgInfo(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().bgInfo;
        }
        return bgInfo;
    }

    public void setBgInfo(String bgInfo) {
        if (bgInfo != null && !"".equals(bgInfo)) {
            this.bgInfo = bgInfo;
        }
    }

    public String getCocCard7Make(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().cocCard7Make;
        }
        return cocCard7Make;
    }

    public void setCocCard7Make(String cocCard7Make) {
        if (cocCard7Make != null && !"".equals(cocCard7Make)) {
            this.cocCard7Make = cocCard7Make;
        }
    }

    public String getCocCard6Make(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().cocCard6Make;
        }
        return cocCard6Make;
    }

    public void setCocCard6Make(String cocCard6Make) {
        if (cocCard6Make != null && !"".equals(cocCard6Make)) {
            this.cocCard6Make = cocCard6Make;
        }
    }

    public String getGroupSwitchInfo(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().groupSwitchInfo;
        }
        return groupSwitchInfo;
    }

    public void setGroupSwitchInfo(String groupSwitchInfo) {
        if (groupSwitchInfo != null && !"".equals(groupSwitchInfo)) {
            this.groupSwitchInfo = groupSwitchInfo;
        }
    }

    public String getJrrpStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().jrrpStart;
        }
        return jrrpStart;
    }

    public void setJrrpStart(String jrrpStart) {
        if (jrrpStart != null && !"".equals(jrrpStart)) {
            this.jrrpStart = jrrpStart;
        }
    }

    public String getJrrpStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().jrrpStop;
        }
        return jrrpStop;
    }

    public void setJrrpStop(String jrrpStop) {
        if (jrrpStop != null && !"".equals(jrrpStop)) {
            this.jrrpStop = jrrpStop;
        }
    }

    public String getNpcStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().npcStart;
        }
        return npcStart;
    }

    public void setNpcStart(String npcStart) {
        if (npcStart != null && !"".equals(npcStart)) {
            this.npcStart = npcStart;
        }
    }

    public String getNpcStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().npcStop;
        }
        return npcStop;
    }

    public void setNpcStop(String npcStop) {
        if (npcStop != null && !"".equals(npcStop)) {
            this.npcStop = npcStop;
        }
    }

    public String getWelcomeStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().welcomeStart;
        }
        return welcomeStart;
    }

    public void setWelcomeStart(String welcomeStart) {
        if (welcomeStart != null && !"".equals(welcomeStart)) {
            this.welcomeStart = welcomeStart;
        }
    }

    public String getWelcomeStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().welcomeStop;
        }
        return welcomeStop;
    }

    public void setWelcomeStop(String welcomeStop) {
        if (welcomeStop != null && !"".equals(welcomeStop)) {
            this.welcomeStop = welcomeStop;
        }
    }

    public String getGasStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().gasStart;
        }
        return gasStart;
    }

    public void setGasStart(String gasStart) {
        if (gasStart != null && !"".equals(gasStart)) {
            this.gasStart = gasStart;
        }
    }

    public String getGasStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().gasStop;
        }
        return gasStop;
    }

    public void setGasStop(String gasStop) {
        if (gasStop != null && !"".equals(gasStop)) {
            this.gasStop = gasStop;
        }
    }

    public String getBgStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().bgStart;
        }
        return bgStart;
    }

    public void setBgStart(String bgStart) {
        if (bgStart != null && !"".equals(bgStart)) {
            this.bgStart = bgStart;
        }
    }

    public String getBgStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().bgStop;
        }
        return bgStop;
    }

    public void setBgStop(String bgStop) {
        if (bgStop != null && !"".equals(bgStop)) {
            this.bgStop = bgStop;
        }
    }

    public String getTzStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().tzStart;
        }
        return tzStart;
    }

    public void setTzStart(String tzStart) {
        if (tzStart != null && !"".equals(tzStart)) {
            this.tzStart = tzStart;
        }
    }

    public String getTzStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().tzStop;
        }
        return tzStop;
    }

    public void setTzStop(String tzStop) {
        if (tzStop != null && !"".equals(tzStop)) {
            this.tzStop = tzStop;
        }
    }

    public String getSimpleStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().simpleStart;
        }
        return simpleStart;
    }

    public void setSimpleStart(String simpleStart) {
        if (simpleStart != null && !"".equals(simpleStart)) {
            this.simpleStart = simpleStart;
        }
    }

    public String getSimpleStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().simpleStop;
        }
        return simpleStop;
    }

    public void setSimpleStop(String simpleStop) {
        if (simpleStop != null && !"".equals(simpleStop)) {
            this.simpleStop = simpleStop;
        }
    }

    public String getObStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obStart;
        }
        return obStart;
    }

    public void setObStart(String obStart) {
        if (obStart != null && !"".equals(obStart)) {
            this.obStart = obStart;
        }
    }

    public String getObStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().obStop;
        }
        return obStop;
    }

    public void setObStop(String obStop) {
        if (obStop != null && !"".equals(obStop)) {
            this.obStop = obStop;
        }
    }

    public String getDeckStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().deckStart;
        }
        return deckStart;
    }

    public void setDeckStart(String deckStart) {
        if (deckStart != null && !"".equals(deckStart)) {
            this.deckStart = deckStart;
        }
    }

    public String getDeckStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().deckStop;
        }
        return deckStop;
    }

    public void setDeckStop(String deckStop) {
        if (deckStop != null && !"".equals(deckStop)) {
            this.deckStop = deckStop;
        }
    }

    public String getRankCantStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().rankCantStart;
        }
        return rankCantStart;
    }

    public void setRankCantStart(String rankCantStart) {
        if (rankCantStart != null && !"".equals(rankCantStart)) {
            this.rankCantStart = rankCantStart;
        }
    }

    public String getRankStart(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().rankStart;
        }
        return rankStart;
    }

    public void setRankStart(String rankStart) {
        if (rankStart != null && !"".equals(rankStart)) {
            this.rankStart = rankStart;
        }
    }

    public String getRankStop(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().rankStop;
        }
        return rankStop;
    }

    public void setRankStop(String rankStop) {
        if (rankStop != null && !"".equals(rankStop)) {
            this.rankStop = rankStop;
        }
    }

    public String getRuleChange(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().ruleChange;
        }
        return ruleChange;
    }

    public void setRuleChange(String ruleChange) {
        if (ruleChange != null && !"".equals(ruleChange)) {
            this.ruleChange = ruleChange;
        }
    }

    public String getRuleGet(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().ruleGet;
        }
        return ruleGet;
    }

    public void setRuleGet(String ruleGet) {
        if (ruleGet != null && !"".equals(ruleGet)) {
            this.ruleGet = ruleGet;
        }
    }

    public String getRuleDefault(String groupId) {
        if (checkGroupInSimple(groupId)) {
            return new EntityGame().ruleDefault;
        }
        return ruleDefault;
    }

    public void setRuleDefault(String ruleDefault) {
        if (ruleDefault != null && !"".equals(ruleDefault)) {
            this.ruleDefault = ruleDefault;
        }
    }

    public boolean isRule() {
        return rule;
    }

    public void setRule(boolean rule) {
        this.rule = rule;
    }

    public boolean isOb() {
        return ob;
    }

    public void setOb(boolean ob) {
        this.ob = ob;
    }

    public boolean isSimple() {
        return simple;
    }

    public void setSimple(boolean simple) {
        this.simple = simple;
    }

    public boolean isNameSwitch() {
        return nameSwitch;
    }

    public void setNameSwitch(boolean nameSwitch) {
        this.nameSwitch = nameSwitch;
    }

    public boolean isJrrpSwitch() {
        return jrrpSwitch;
    }

    public void setJrrpSwitch(boolean jrrpSwitch) {
        this.jrrpSwitch = jrrpSwitch;
    }

    public String getJrrpInfo() {
        return jrrpInfo;
    }

    public void setJrrpInfo(String jrrpInfo) {
        this.jrrpInfo = jrrpInfo;
    }

    public boolean isWelcomeSwitch() {
        return welcomeSwitch;
    }

    public void setWelcomeSwitch(boolean welcomeSwitch) {
        this.welcomeSwitch = welcomeSwitch;
    }

    public boolean isBotList() {
        return botList;
    }

    public void setBotList(boolean botList) {
        this.botList = botList;
    }

    public boolean isDeck() {
        return deck;
    }

    public void setDeck(boolean deck) {
        this.deck = deck;
    }
}
